home *** CD-ROM | disk | FTP | other *** search
/ No Fragments Archive 12: Textmags & Docs / nf_archive_12.iso / MAGS / SOURCES / ATARI_SRC.ZIP / atari source / DSMODS / BITMAP.H < prev    next >
Encoding:
C/C++ Source or Header  |  2001-02-10  |  1.3 KB  |  32 lines

  1. /*************************************************************************
  2. **    bitmap.h                            **
  3. **    ---------------------------------------------------------    **
  4. **    Copyright 1986 by Compugraphic, Inc. All rights reserved.    **
  5. **************************************************************************
  6.     Product:    Intellifont Sub-System
  7.     Component:    Character bit map structure
  8.     Author:        Al Ristow
  9. *************************************************************************/
  10. /*    The following defines the structure of the character bit map
  11.     produced by the Intellifont process.
  12. */
  13.  
  14. #define        BMP_HEADER_SIZE        26
  15.  
  16. struct    bit_map_type {
  17.     int    width;        /* bit map width (words)        */
  18.     int    depth;        /* "    "  depth (pixels)        */
  19.     int    left_indent;    /* left indent to black box (pixels)    */
  20.     int    top_indent;    /* top    "    "    "    "    */
  21.     int    black_width;    /* character black box    width (pixels)    */
  22.     int    black_depth;    /*    "    "    depth    "    */
  23.     int    base_pix;    /* top of bit map to baseline (pixels)    */
  24.     int    bot_bearing;        /*    reserved    */
  25.     int    new_lsb;    /* new    left    side bearing (scan)    */
  26.     int    new_rsb;    /* "    right    "    "    "    */
  27.     int    old_lsb;    /* original left side bearing (scan)    */
  28.     int    old_rsb;    /* "        right    "    "    */
  29.     int    body_width;    /* character body width (scan)        */
  30.     unsigned bm[4];        /* character bit map            */
  31. };
  32.